package com.manager.devicemanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wpf
 * @since 2025-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value="component_record_template",schema="public")
@Schema(name = "ComponentRecordTemplate", description = "")
public class ComponentRecordTemplate implements Serializable {

    private static final long serialVersionUID = 1L;
    @Schema(description = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @Schema(description = "器件ID")
    private String componentid;
    @Schema(description = "所属板卡ID")
    private String boardid;
    @Schema(description = "器件启用情况（true/false）")
    private String enable;
    @Schema(description = "器件编号（自定义）")
    private String devicenumber;
    @Schema(description = "器件类型")
    private String devicetype;
    @Schema(description = "烧毁阈值")
    private String burnthreshold;
    @Schema(description = "退化阈值")
    private String degradationthreshold;
    @Schema(description = "退化超时")
    private String degradationtimeout;
    @Schema(description = "记录创建时间")
    private Date createTime;
    @Schema(description = "最后更新时间")
    private Date lastUpdateTime;


}